using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("spu")]
    public class Spu : BaseModel
    {
[Column("Id")]
         public long  Id{ get; set;}

         /// <summary>
         /// spu编码
         /// </summary>
         [Comment("spu编码")]
         [Column("spu_code")]
         public string  SpuCode{ get; set;} = string.Empty;

         /// <summary>
         /// spu名称
         /// </summary>
         [Comment("spu名称")]
         [Column("spu_name")]
         public string  SpuName{ get; set;} = string.Empty;

         /// <summary>
         /// 长度单位
         /// </summary>
         [Comment("长度单位")]
         [Column("length_unit")]
         public int  LengthUnit{ get; set;}

         /// <summary>
         /// 重量单位
         /// </summary>
         [Comment("重量单位")]
         [Column("weight_unit")]
         public int  WeightUnit{ get; set;}

         /// <summary>
         /// 体积单位
         /// </summary>
         [Comment("体积单位")]
         [Column("volume_unit")]
         public int  VolumeUnit{ get; set;}

         /// <summary>
         /// 供应商id
         /// </summary>
         [Comment("供应商id")]
         [Column("supplier_id")]
         public long  SupplierId{ get; set;}

         /// <summary>
         /// 分类
         /// </summary>
         [Comment("分类")]
         [Column("category_id")]
         public int  CategoryId{ get; set;}
[Column("update_userId")]
         public string  UpdateUserid{ get; set;} = string.Empty;

    }
}
          
